<?php
/**
 * Created by PhpStorm.
 * User: tangmusen
 * Date: 2017/9/15
 * Time: 10:03
 */
namespace app\common\validate;

use think\Validate;
class Captcha extends Validate
{
    protected $rule = [
        'mobile'      =>  'require|number',
    ];

    protected $message = [
        'mobile.require'      =>  '请输入手机号',
        'mobile.min'          =>  '手机号至少11位',
        'mobile.number'       =>  '手机号只能为数字',
    ];


}